package com.account.book.service;

import com.account.book.entity.User;
import com.account.book.request.UpdateUserInfo;
import com.account.book.request.UserLoginReqVo;
import com.account.book.request.UserNameReqVo;
import com.account.book.response.UserLoginRespVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author liang-hw
 * @className UserService
 * @description 用户表
 * @date 2023/11/09 14:34:50
 */
public interface UserService extends IService<User> {

    /**
     * 用户登录
     *
     * @param userLoginReqVO
     * @return
     */
    UserLoginRespVo userLogin(UserLoginReqVo userLoginReqVO);

    /**
     * 修改用户昵称，头像
     *
     * @param UpdateUserInfo
     * @return
     */
    UserLoginRespVo updateUserInfo(UpdateUserInfo UpdateUserInfo,String userId);

    /**
     * 修改用户别名,真实姓名
     *
     * @param userNameReqVo
     * @return
     */
    void updateReallyNameAndUserName(UserNameReqVo userNameReqVo);


}
